package frontmatter

const SEPARATOR = "---"
const SEPARATOR_WITH_LF = "---\n"
const SEPARATOR_WITH_CRLF = "---\r\n"
const SEPARATOR_LENGTH = len(SEPARATOR)
const DEFAULT_OUTLINE = "deep"

// 定义 Frontmatter 结构
type Frontmatter struct {
	Outline     string `yaml:"outline"`
	Title       string `yaml:"title" new:"true"`
	URL         string `yaml:"url"`
	Createtime  string `yaml:"createtime"`
	Updatetime  string `yaml:"updatetime"`
	SecondIndex int    `yaml:"-"`
}
